<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <title>Spring+SpringMVC练习</title>
        <meta charset="UTF-8">
       <base th:href="@{/}">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
                <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.0/dist/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
        
    </head>
<body>
<div class="jumbotron jumbotron-fluid">
  <div class="container">
    <h1 class="display-4">通过标题关键字查询</h1>
  </div>
</div>
<table class="table table-hover table-striped">
                <tr>
                	<th>发布人</th>
                    <th>房屋编号</th>
                    <th>房间标题</th>
                    <th>房屋购买时间</th>
                    <th>房屋地址</th>
                    <th>房屋类型</th>
                    <th>房屋价格</th>
                    <th>房屋状态</th>  
                    <th>操作</th>
                </tr>
                    <tr th:each="house:${findbyHtopic}" th:id="|tr${house.Hid}|">
                    	<td th:text="${house.Uid}"></td>
                        <td th:text="${house.Hid}"></td>
                        <td th:text="${house.Htopic}"></td>
                        <td th:text="${house.Htime}"></td>
                        <td th:text="${house.Had}"></td>
                        <td>[[${house.Htype}]]</td>
                        <td>[[${house.Hprice}]]</td>
                        <td>[[${house.Hatt}]]</td>
                        <td>               <a th:href="'housetype/housetypeinfoother/'+${house.Uid}+'/'+${house.Hid}">查看详细内容</a></td>
                    </tr>
            </table>
            <br><br>
             <a class="btn btn-outline-info" th:href="@{'index/'+${session.sessionuser.Uid}}">返回首页</a>&nbsp;
             
</body>
</html>